//---------------------------------------------------------------------------

#ifndef vSAjoutVersionH
#define vSAjoutVersionH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include "WebHelp.h"
#include "CComboBx.h"
#include "CEdit.h"
//---------------------------------------------------------------------------
class TAjoutVersion : public TForm
{
    __published:	// Composants gérés par l'EDI
        TPanel *Panel1;
        TLabel *lLogiciel;
        TLabel *lVersionAide;
        TPanel *Panel2;
        TBitBtn *bbOk;
        TBitBtn *bbAnnuler;
        CComboBox *cbLogiciel;
        CEdit *eVersion;
    TLabel *lRefWebHelp;
        void __fastcall bbOkClick(TObject *Sender);
        void __fastcall cbLogicielChange(TObject *Sender);
    private:
        TdmWebHelp * dmWebHelp;

    private:	// Déclarations utilisateur
        bool __fastcall VerifierExistance(  const int &nLogiciel,
                                    const AnsiString &asVersion);
        bool __fastcall VerifVerNom(const AnsiString &asVerNom);
        int  __fastcall GetMaxVersion( const int &nLogCode );

    public:		// Déclarations utilisateur
        __fastcall TAjoutVersion(TComponent* Owner);
        __fastcall ~TAjoutVersion();
};
//---------------------------------------------------------------------------
#endif
